﻿using D.Medicalcare.Domain.Entities;
using D.Medicalcare.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace D.Medicalcare.Write.API.Application.Commands.DoctorSchedulingCommand
{
    /// <summary>
    /// 添加排班
    /// </summary>
    public class AddDoctorSchedulingCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 医生排班ID
        /// </summary>
        public int DoctorSchedulingId { get; set; }
        /// <summary>
        /// 医生ID
        /// </summary>
        public int? DoctorId { get; set; }
        /// <summary>
        /// 上午号源数
        /// </summary>
        public int? MorningNumberSources { get; set; }
        /// <summary>
        /// 下午号源数
        /// </summary>
        public int? AfternoonNumberSources { get; set; }
        /// <summary>
        /// 上午接诊人数
        /// </summary>
        public int? MorningNumberPatients { get; set; }
        /// <summary>
        /// 下午接诊人数
        /// </summary>
        public int? AfternoonNumberPatients { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public DateTime Date { get; set; }
        /// <summary>
        /// 接诊时间(上午)
        /// </summary>
        public string? MorningAdmissions { get; set; }
        /// <summary>
        /// 接诊时间(下午)
        /// </summary>
        public string? AfternoonAdmissions { get; set; }
        /// <summary>
        /// 是否可接诊(上午)
        /// </summary>
        public bool? MorningIsNo { get; set; }
        /// <summary>
        /// 是否可接诊(下午)
        /// </summary>
        public bool? AfternoonIsNo { get; set; }
        /// <summary>
        /// 是否可排班
        /// </summary>
        public bool? IsScheduling { get; set; }
    }
}
